package top.lt.lt_ssm.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class activity {

	private Integer actId;

	private String actHnmae;

	private String content;

	private Date beginTime;

	private Date endTime;

	public activity() {
	}

	public activity(Integer actId, String actHnmae, String content, Date beginTime, Date endTime) {
		this.actId = actId;
		this.actHnmae = actHnmae;
		this.content = content;
		this.beginTime = beginTime;
		this.endTime = endTime;
	}

	public Integer getActId() {
		return actId;
	}

	public void setActId(Integer actId) {
		this.actId = actId;
	}

	public String getActHnmae() {
		return actHnmae;
	}
	public void setActHnmae(String actHnmae) {
		this.actHnmae = actHnmae;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getBeginTime() {
		return beginTime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getEndTime() {
		return endTime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	@Override
	public String toString() {
		return "activity [actId=" + actId + ", actHnmae=" + actHnmae + ", content=" + content + ", beginTime="
				+ beginTime + ", endTime=" + endTime + "]";
	}

}